package net.wsfcp.android.bean.resultbean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by Shaoboyang on 2018/12/14.
 */
//返回用户信息
@Entity
public class UserBean {
    /**
     * key  user_name/"portrait_"+id.jpg  (七牛云文件key)
     */


    @Id
    String id;
    String token;//token
    String encrypt;//登录成功后的密码串

    String images_token;
    String document_token;
    String audios_token;
    String videos_token;
    private int user_type;
    private int power_type;
    private int member_level;
    String email;//邮箱
    String nickname;//昵称
    private int gender;
    private long expire_time;
    String admin_user_id;
    String admin_user_name;
    String invite_code;
    String card_number;

    String user_name;//用户名

    private String portrait_uri;//头像
    private String cell_num;//手机号码
    private String qq;//QQ
    private String real_name;//真实姓名
    //    private String birthday;
    private String job;//职位
    //    private String province;
    //    private String city;
    private String company_name;//公司名称
    private String company_type;//公司类型
    private String address;//联系地址
    private String fax;//传真
    private String zip_code;//邮编


    @Generated(hash = 1504870738)
    public UserBean(String id, String token, String encrypt, String images_token,
            String document_token, String audios_token, String videos_token, int user_type,
            int power_type, int member_level, String email, String nickname, int gender,
            long expire_time, String admin_user_id, String admin_user_name,
            String invite_code, String card_number, String user_name, String portrait_uri,
            String cell_num, String qq, String real_name, String job, String company_name,
            String company_type, String address, String fax, String zip_code) {
        this.id = id;
        this.token = token;
        this.encrypt = encrypt;
        this.images_token = images_token;
        this.document_token = document_token;
        this.audios_token = audios_token;
        this.videos_token = videos_token;
        this.user_type = user_type;
        this.power_type = power_type;
        this.member_level = member_level;
        this.email = email;
        this.nickname = nickname;
        this.gender = gender;
        this.expire_time = expire_time;
        this.admin_user_id = admin_user_id;
        this.admin_user_name = admin_user_name;
        this.invite_code = invite_code;
        this.card_number = card_number;
        this.user_name = user_name;
        this.portrait_uri = portrait_uri;
        this.cell_num = cell_num;
        this.qq = qq;
        this.real_name = real_name;
        this.job = job;
        this.company_name = company_name;
        this.company_type = company_type;
        this.address = address;
        this.fax = fax;
        this.zip_code = zip_code;
    }

    @Generated(hash = 1203313951)
    public UserBean() {
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEncrypt() {
        return encrypt;
    }

    public void setEncrypt(String encrypt) {
        this.encrypt = encrypt;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getImages_token() {
        return images_token;
    }

    public void setImages_token(String images_token) {
        this.images_token = images_token;
    }

    public String getDocument_token() {
        return document_token;
    }

    public void setDocument_token(String document_token) {
        this.document_token = document_token;
    }

    public String getAudios_token() {
        return audios_token;
    }

    public void setAudios_token(String audios_token) {
        this.audios_token = audios_token;
    }

    public String getVideos_token() {
        return videos_token;
    }

    public void setVideos_token(String videos_token) {
        this.videos_token = videos_token;
    }

    public int getUser_type() {
        return user_type;
    }

    public void setUser_type(int user_type) {
        this.user_type = user_type;
    }

    public int getPower_type() {
        return power_type;
    }

    public void setPower_type(int power_type) {
        this.power_type = power_type;
    }

    public int getMember_level() {
        return member_level;
    }

    public void setMember_level(int member_level) {
        this.member_level = member_level;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public long getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(long expire_time) {
        this.expire_time = expire_time;
    }

    public String getAdmin_user_id() {
        return admin_user_id;
    }

    public void setAdmin_user_id(String admin_user_id) {
        this.admin_user_id = admin_user_id;
    }

    public String getAdmin_user_name() {
        return admin_user_name;
    }

    public void setAdmin_user_name(String admin_user_name) {
        this.admin_user_name = admin_user_name;
    }

    public String getInvite_code() {
        return invite_code;
    }

    public void setInvite_code(String invite_code) {
        this.invite_code = invite_code;
    }

    public String getCard_number() {
        return card_number;
    }

    public void setCard_number(String card_number) {
        this.card_number = card_number;
    }

    public String getPortrait_uri() {
        return this.portrait_uri;
    }

    public void setPortrait_uri(String portrait_uri) {
        this.portrait_uri = portrait_uri;
    }

    public String getCell_num() {
        return this.cell_num;
    }

    public void setCell_num(String cell_num) {
        this.cell_num = cell_num;
    }

    public String getQq() {
        return this.qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getReal_name() {
        return this.real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getJob() {
        return this.job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getCompany_name() {
        return this.company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getCompany_type() {
        return this.company_type;
    }

    public void setCompany_type(String company_type) {
        this.company_type = company_type;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFax() {
        return this.fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getZip_code() {
        return this.zip_code;
    }

    public void setZip_code(String zip_code) {
        this.zip_code = zip_code;
    }


}
